@use "../everything" as *;

.blockquote {
  $border-style: 0.25em solid divider-get-var(color);

  @include theme-use-var(color, text-secondary-color);
  // TODO: This mixin has been removed and must manually be updated.
  @include rmd-typography(subtitle-1);
  // TODO: This mixin has been removed and must manually be updated.
  @include rmd-utils-rtl-auto(border-left, $border-style);

  font-style: italic;
  margin: 1em 0;
  padding: 0.5em 1em;
  position: relative;

  p:only-child {
    margin: 0;
  }

  p:last-child {
    margin-bottom: 0;
  }
}

.task {
  list-style: none;
  margin-left: -2.5rem;
}

.invalid {
  min-height: 15rem;
  position: relative;

  &::after {
    // TODO: This mixin removed support for "text-primary-on-dark".
    @include theme-use-var(color, text-primary-on-dark);
    // TODO: This mixin has been removed and must manually be updated.
    @include rmd-utils-scroll;

    background-color: $black;
    bottom: 0;
    content: attr(data-languages);
    display: flex;
    left: 0;
    padding: 1rem 1.5rem;
    position: absolute;
    right: 0;
    top: 0;
    white-space: pre-line;
  }
}
